"""
@name : jihuoma.py
@author : suyj
@project_name : pycharmlx
"""

import random, string
with open("jhm.txt",'a+',encoding='utf-8') as f:
    str = int(input("请输入生成激活码的个数:"))
    for i in range(str):
        chars = ''.join(random.sample(string.ascii_uppercase + string.digits,32))
        f.write(chars+'\n')
